package com.neusoft.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

/**
 * 考勤补签表
 */
@ApiModel(description="考勤补签表")
@Data
@TableName(value = "attend_retroactive")
public class AttendRetroactive {
    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value="")
    private Integer id;

    /**
     * 员工id,关联employee.id
     */
    @TableField(value = "emp_id")
    @ApiModelProperty(value="员工id,关联employee.id")
    private Integer empId;

    /**
     * 原始考勤记录id,关联attendance.id
     */
    @TableField(value = "attendance_id")
    @ApiModelProperty(value="原始考勤记录id,关联attendance.id")
    private Integer attendanceId;

    /**
     * 补签上班时间
     */
    @TableField(value = "new_check_in_time")
    @ApiModelProperty(value="补签上班时间")
    private Date newCheckInTime;

    /**
     * 补签下班时间
     */
    @TableField(value = "new_check_out_time")
    @ApiModelProperty(value="补签下班时间")
    private Date newCheckOutTime;

    /**
     * 补签原因
     */
    @TableField(value = "reason")
    @ApiModelProperty(value="补签原因")
    private String reason;

    /**
     * 补签凭证地址
     */
    @TableField(value = "proof")
    @ApiModelProperty(value="补签凭证地址")
    private String proof;

    /**
     * 审批状态,1审批中,2已通过,3已驳回
     */
    @TableField(value = "approve_status")
    @ApiModelProperty(value="审批状态,1审批中,2已通过,3已驳回")
    private Byte approveStatus;

    /**
     * 审批人id,关联employee.id
     */
    @TableField(value = "approve_emp_id")
    @ApiModelProperty(value="审批人id,关联employee.id")
    private Integer approveEmpId;

    /**
     * 审批时间
     */
    @TableField(value = "approve_time")
    @ApiModelProperty(value="审批时间")
    private Date approveTime;

    /**
     * 审批备注
     */
    @TableField(value = "approve_remark")
    @ApiModelProperty(value="审批备注")
    private String approveRemark;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value="创建时间")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    @ApiModelProperty(value="修改时间")
    private Date updateTime;
}